/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rom.character;

import java.io.Serializable;

/**
 *
 * @author Luis
 */
public final class Gender implements Serializable{
    
    public static int FEMALE = 0;
    public static int MALE = 1;
    public static int BOTH = 2;
    
    private int gender;
    
    public Gender(int gender){
        this.gender = gender;
    }

    /**
     * @return the gender
     */
    public int getGender() {
        return gender;
    }

    /**
     * @param gender the gender to set
     */
    public void setGender(int gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return String.valueOf(getGender());
    }
    
}
